export default [
    // user
    {
        path: '/user',
        component: '../layouts/UserLayout',
        routes: [
            { path: '/user', redirect: '/user/login' },
            { path: '/user/login', name: 'login', component: './User/Login' },

            { path: '/user/register', name: 'register', component: './User/Register' },
            {
                path: '/user/register-result',
                name: 'register.result',
                component: './User/RegisterResult',
            },
            {
                component: '404',
            },
        ],
    },
    // 外部系统调用
    {
        path: '/openSystem',
        component: '../layouts/BlankLayout',
        routes: [
            // 异常差错
            {
                path: '/openSystem/abnormal/abnormalDetail/:id',
                name: 'abnormalDetail',
                component: './ErrAbnormal/AbnormalOpenDetail',
            },
            //账单管理详情
            {
                path: '/openSystem/bill/billDetail/:id',
                name: 'billDetail',
                hideInMenu: true,
                component: './FleetManage/Bill/BillOpenDetail',
            },
        ],
    },
    // 打印
    {
        path: '/print',
        component: '../layouts/BlankLayout',
        routes: [
            {
                path: '/print/bill/:id',
                name: 'billPrint',
                component: './FleetManage/Bill/BillPrint',
            },
        ],
    },
    // app
    {
        path: '/',
        component: '../layouts/BasicLayout',
        Routes: ['src/pages/Authorized'],
        routes: [
            // //车队报表管理
            {
                path: '/carReport',
                icon: 'bar-chart',
                name: 'carReport',
                code: 'CART_REPORTS',
                routes: [
                    // 到期预警中港车
                    {
                        path: '/carReport/warningHK',
                        name: 'warningHK',
                        code: 'WARNINGHK',
                        component: './Reports/WarningHK',
                    },
                    // 到期预警二车队
                    {
                        path: '/carReport/warningSecond',
                        name: 'warningSecond',
                        code: 'WARNINGSECOND',
                        component: './Reports/WarningSecond',
                    },
                    // 行车档案(二车队)
                    {
                        path: '/carReport/archives',
                        name: 'archives',
                        code: 'WARNINGSECOND', //未配置
                        component: './Reports/Archives',
                    },
                ],
            },
            // 车队日常信息
            {
                path: '/carDaily',
                icon: 'history',
                name: 'carDaily',
                code: 'CART_DAILY_MANAGE',
                routes: [
                    //加油管理
                    {
                        path: '/carDaily/oilList',
                        name: 'OilList',
                        code: 'OILPAGE',
                        component: './TmsOil/OilList',
                    },
                    {
                        path: '/carDaily/oilList/edit-form/:id',
                        name: 'OilEdit',
                        component: './TmsOil/UpdateForm',
                        hideInMenu: true,
                    },
                    {
                        path: '/carDaily/oilList/add-form',
                        name: 'OilAdd',
                        component: './TmsOil/UpdateForm',
                        hideInMenu: true,
                    },
                    // 保险列表
                    {
                        path: '/carDaily/insuranceList',
                        name: 'insuranceList',
                        code: 'INSURANCEPAGE',
                        component: './Insurance/InsuranceList',
                    },
                    {
                        path: '/carDaily/insuranceList/addInsurance',
                        name: 'addInsurance',
                        component: './Insurance/InsuranceOperate',
                        hideInMenu: true,
                    },
                    {
                        path: '/carDaily/insuranceList/editInsurance/:id',
                        name: 'editInsurance',
                        component: './Insurance/InsuranceOperate',
                        hideInMenu: true,
                    },
                    // 年审列表
                    {
                        path: '/carDaily/verificationList',
                        name: 'verificationList',
                        code: 'VERIFICATIONPAGE',
                        component: './Verification/VerificationList',
                    },

                    {
                        path: '/carDaily/verificationList/addVerification',
                        name: 'addVerification',
                        component: './Verification/VerificationOperate',
                        hideInMenu: true,
                    },
                    {
                        path: '/carDaily/verificationList/editVerification/:id',
                        name: 'editVerification',
                        component: './Verification/VerificationOperate',
                        hideInMenu: true,
                    },
                    // 司机证件列表
                    {
                        path: '/carDaily/driverPaperList',
                        name: 'driverPaperList',
                        code: 'DRIVERPAPER',
                        component: './FleetManage/DriverPaper/DriverPaperList',
                    },
                    {
                        path: '/carDaily/driverPaperList/addDriverPaper',
                        name: 'addDriverPaper',
                        component: './FleetManage/DriverPaper/DriverPaperOperate',
                        hideInMenu: true,
                    },
                    {
                        path: '/carDaily/driverPaperList/editDriverPaper/:id',
                        name: 'editDriverPaper',
                        component: './FleetManage/DriverPaper/DriverPaperOperate',
                        hideInMenu: true,
                    },
                    // 维修保养
                    {
                        path: '/carDaily/upkeepList',
                        name: 'upkeepList',
                        code: 'UPKEEPPAGE',
                        component: './Upkeep/UpkeepList',
                    },
                    {
                        path: '/carDaily/upkeepList/addUpkeep',
                        name: 'addUpkeep',
                        component: './Upkeep/UpkeepOperate',
                        hideInMenu: true,
                    },
                    {
                        path: '/carDaily/upkeepList/editUpkeep/:id',
                        name: 'editUpkeep',
                        component: './Upkeep/UpkeepOperate',
                        hideInMenu: true,
                    },
                    // 轮胎管理
                    {
                        path: '/carDaily/tireList',
                        name: 'tireList',
                        code: 'TIREPAGE',
                        component: './Tire/TireList',
                    },
                    {
                        path: '/carDaily/tireList/addTire',
                        name: 'addTire',
                        component: './Tire/TireOperate',
                        hideInMenu: true,
                    },
                    {
                        path: '/carDaily/tireList/editTire/:id',
                        name: 'editTire',
                        component: './Tire/TireOperate',
                        hideInMenu: true,
                    },

                    // ETC交易列表
                    {
                        path: '/carDaily/manageEtc/etcChangeList',
                        name: 'etcChangeList',
                        code: 'ETCCHANGEPAGE',
                        component: './ManageEtc/EtcChangeList/ETCChangeList',
                    },
                    {
                        path: '/carDaily/manageEtc/etcChangeList/addEtcChange',
                        name: 'addETCChange',
                        component: './ManageEtc/EtcChangeList/ETCChangeOperate',
                        hideInMenu: true,
                    },
                    {
                        path: '/carDaily/manageEtc/etcChangeList/editEtcChange/:id',
                        name: 'editETCChange',
                        component: './ManageEtc/EtcChangeList/ETCChangeOperate',
                        hideInMenu: true,
                    },
                    //违章记录
                    {
                        path: '/carDaily/EndorseList',
                        name: 'endorseList',
                        code: 'ENDORELIST',
                        component: './Endorse/Endorsement/EndorseList',
                    },
                    // 新增违章记录
                    {
                        path: '/carDaily/EndorseList/addEndorse',
                        name: 'addEndorse',
                        component: './Endorse/Endorsement/addEndorse',
                    },
                    // 编辑违章记录
                    {
                        path: '/carDaily/EndorseList/editEndorse/:id',
                        name: 'editEndorse',
                        component: './Endorse/Endorsement/addEndorse',
                        hideInMenu: true,
                    },
                ],
            },
            // 车队基础信息
            {
                path: '/carBasic',
                icon: 'database',
                name: 'carBasic',
                code: 'CART_BASIC_INFO',
                routes: [
                    //车辆管理
                    {
                        path: '/carBasic/vehicleList',
                        name: 'VehicleList',
                        code: 'VEHICLEPAGE',
                        component: './ManageCar/VehicleList',
                    },
                    {
                        path: '/carBasic/vehicleList/edit-form/:id',
                        name: 'VehicleEdit',
                        component: './ManageCar/UpdateForm',
                        hideInMenu: true,
                    },
                    {
                        path: '/carBasic/vehicleList/add-form',
                        name: 'VehicleAdd',
                        component: './ManageCar/UpdateForm',
                        hideInMenu: true,
                    },
                    // 司机信息
                    {
                        path: '/carBasic/driverList',
                        name: 'driverList',
                        code: 'DRIVERPAGE',
                        component: './TmsDriver/DriverList',
                    },
                    {
                        path: '/carBasic/driverList/edit-form/:id',
                        name: 'DriverEdit',
                        component: './TmsDriver/UpdateForm',
                        hideInMenu: true,
                    },
                    {
                        path: '/carBasic/driverList/add-form',
                        name: 'DriverAdd',
                        component: './TmsDriver/UpdateForm',
                        hideInMenu: true,
                    },
                    //油卡管理
                    {
                        path: '/carBasic/oilCardList',
                        name: 'OilCardList',
                        code: 'OILCARDPAGE',
                        component: './TmsOilCard/OilCardList',
                    },
                    {
                        path: '/carBasic/oilCardList/edit-form/:id',
                        name: 'OilCardEdit',
                        component: './TmsOilCard/UpdateForm',
                        hideInMenu: true,
                    },
                    {
                        path: '/carBasic/oilCardList/add-form',
                        name: 'OilCardAdd',
                        component: './TmsOilCard/UpdateForm',
                        hideInMenu: true,
                    },

                    //配件库管理

                    {
                        path: '/carBasic/oilCardList/recharge',
                        name: 'recharge',
                        component: './TmsOilCard/Recharge',
                        hideInMenu: true,
                    },
                    // ETC管理
                    {
                        path: '/carBasic/manageEtc/ETCList',
                        name: 'ETCList',
                        code: 'ETCPAGE',
                        component: './ManageEtc/EtcList/ETCList',
                    },

                    {
                        path: '/carBasic/manageEtc/ETCList/addETC',
                        name: 'addETC',
                        component: './ManageEtc/EtcList/ETCOperate',
                        hideInMenu: true,
                    },
                    {
                        path: '/carBasic/manageEtc/ETCList/editETC/:id',
                        name: 'editETC',
                        component: './ManageEtc/EtcList/ETCOperate',
                        hideInMenu: true,
                    },
                    {
                        path: '/carBasic/manageEtc/ETCList/recharge',
                        name: 'rechargeETC',
                        component: './ManageEtc/EtcList/Recharge',
                        hideInMenu: true,
                    },
                    //配件管理
                    {
                        path: '/carBasic/partsLibList',
                        name: 'partsLibList',
                        code: 'PARTSLIBRARY',
                        component: './PartsLibrary/PartsLibList',
                    },
                    // 配件报价
                    {
                        path: '/carBasic/partsOfferList',
                        name: 'partsOfferList',
                        code: 'PARTSOFFERPAGE',
                        component: './FleetManage/PartsOffer/PartsOfferList',
                    },
                    {
                        path: '/carBasic/partsOfferList/addPartsOffer',
                        name: 'addPartsOffer',
                        component: './FleetManage/PartsOffer/PartsOfferOperate',
                    },
                    {
                        path: '/carBasic/partsOfferList/editPartsOffer/:id',
                        name: 'editPartsOffer',
                        component: './FleetManage/PartsOffer/PartsOfferOperate',
                    },
                    // 柜型标准油耗
                    {
                        path: '/carBasic/cabinetOilList',
                        name: 'cabinetOilList',
                        code: 'STANDAROILWEEARPAGE',
                        component: './FleetManage/CabinetOil/CabinetOilList',
                    },
                    {
                        path: '/carBasic/cabinetOilList/addCabinetOil',
                        name: 'addCabinetOil',
                        component: './FleetManage/CabinetOil/CabinetOilOperate',
                    },
                    {
                        path: '/carBasic/cabinetOilList/editCabinetOil/:id',
                        name: 'editCabinetOil',
                        component: './FleetManage/CabinetOil/CabinetOilOperate',
                    },
                ],
            },

            //车队结算管理
            {
                path: '/carAccount',
                icon: 'car',
                name: 'carAccount',
                code: 'CART_CLOSE_ACCOUNT',
                routes: [
                    //账单管理

                    {
                        path: '/carAccount/billList',
                        name: 'billList',
                        code: 'BILLPAGE',
                        component: './FleetManage/Bill/BillList',
                    },
                    // 新增账单
                    {
                        path: '/carAccount/billList/addBill',
                        name: 'addBill',
                        component: './FleetManage/Bill/BillOperate',
                        hideInMenu: true,
                    },
                    // 编辑账单
                    {
                        path: '/carAccount/billList/editBill/:id',
                        name: 'editBill',
                        component: './FleetManage/Bill/BillOperate',
                        hideInMenu: true,
                    },
                    //行车档案--二车队
                    {
                        path: '/carAccount/ArchivesList',
                        name: 'archivesList',
                        code: 'ARCHIVESPAGE',
                        component: './FleetManage/Archives/ArchivesList',
                    },
                   
                   
                    // 新增行车档案--二车队
                    {
                        path: '/carAccount/ArchivesList/addArchives',
                        name: 'addArchives',
                        component: './FleetManage/Archives/ArchivesOperate',
                        hideInMenu: true,
                    },
                    // 编辑行车档案--二车队、
                    {
                        path: '/carAccount/ArchivesList/editArchives/:id',
                        name: 'editArchives',
                        component: './FleetManage/Archives/ArchivesOperate',
                        hideInMenu: true,
                    },
                     //行车档案--一车队
                     {
                        path: '/carAccount/ArchivesListYCD',
                        name: 'archivesListYCD',
                        code: 'ARCHIVESPAGE',

                        // code: 'ARCHIVESPAGEYCD',
                        component: './FleetManage/Archives/ArchivesListYCD',
                    },
                    // 新增行车档案--一车队
                    {
                        path: '/carAccount/ArchivesListYCD/addArchivesOneTeam',
                        name: 'addArchivesOneTeam',
                        component: './FleetManage/Archives/ArchivesOperateYCD',
                        hideInMenu: true,
                    },
                    // 编辑行车档案--一车队
                    {
                        path: '/carAccount/ArchivesListYCD/editArchivesOneTeam/:id',
                        name: 'editArchivesOneTeam',
                        component: './FleetManage/Archives/ArchivesOperateYCD',
                        hideInMenu: true,
                    },
                     //行车档案--中港车
                     {
                        path: '/carAccount/ArchivesListHK',
                        name: 'archivesListHK',
                        code: 'ARCHIVESPAGE',

                        // code: 'ARCHIVESPAGEHK',
                        component: './FleetManage/Archives/ArchivesListHK',
                    },
                    // 编辑行车档案--中港车（直达、guo'gang）
                    {
                        path: '/carAccount/ArchivesListHK/editArchivesHK/:id',
                        name: 'editArchives',
                        component: './FleetManage/Archives/ArchivesOperateHK',
                        hideInMenu: true,
                    },
                    // 编辑行车档案--中港车放空
                    {
                        path: '/carAccount/ArchivesListHK/editArchivesEmpty/:id',
                        name: 'editArchives',
                        component: './FleetManage/Archives/ArchivesOperateEmpty',
                        hideInMenu: true,
                    },

                    // 杂费列表
                    {
                        path: '/carAccount/IncidentalList',
                        name: 'incidentalList',
                        code: 'INCIDENTALPAGE',
                        component: './FleetManage/Incidental/IncidentalList',
                    },
                    {
                        path: '/carAccount/IncidentalList/addIncidental',
                        name: 'addIncidental',
                        component: './FleetManage/Incidental/IncidentalOperate',
                        hideInMenu: true,
                    },
                    {
                        path: '/carAccount/IncidentalList/editIncidental/:id',
                        name: 'editIncidental',
                        component: './FleetManage/Incidental/IncidentalOperate',
                        hideInMenu: true,
                    },
                ],
            },
            // 轨迹平台
            {
                path: '/trail',
                icon: 'environment',
                name: 'trail',
                code: 'TRAIL',
                routes: [
                    //轨迹平台
                    {
                        path: '/trail/trailList',
                        name: 'trailList',
                        code: 'TRAILPAGE',
                        component: './Trail/Trail',
                    },
                    //轨迹更新
                    {
                        path: '/trail/trailUpdate',
                        name: 'trailUpdate',
                        code: 'TRAILUPDATEPAGE',
                        component: './Trail/TrailUpdate',
                    },
                ],
            },

            //异常差错
            {
                path: '/abnormal',
                icon: 'sound',
                name: 'abnormal',
                code: 'ABNORMAL',
                routes: [
                    //异常差错
                    {
                        path: '/abnormal/abnormalList',
                        name: 'abnormalList',
                        code: 'ABNORMALPAGE',
                        component: './ErrAbnormal/AbnormalList',
                    },
                    {
                        path: '/abnormal/abnormalList/edit-form/:id',
                        name: 'AbnormalEdit',
                        component: './ErrAbnormal/AbnormalOperate',
                        hideInMenu: true,
                    },
                    {
                        path: '/abnormal/abnormalList/add-form',
                        name: 'AbnormalAdd',
                        component: './ErrAbnormal/AbnormalOperate',
                        hideInMenu: true,
                    },
                ],
            },
            // 自动报关
            {
                path: '/customs',
                icon: 'reconciliation',
                name: 'customs',
                code: 'ROADMANIFEST',
                routes: [
                    //原始舱单
                    {
                        path: '/customs/declareList',
                        name: 'declareList',
                        code: 'ROADMANIFESTPAGE',
                        component: './Customs/DeclareList',
                    },
                    //原始舱单详情
                    {
                        path: '/customs/declareList/declareDetail/:id',
                        name: 'declareDetail',
                        // code: 'TRAILPAGE',
                        component: './Customs/DeclareDetail',
                        hideInMenu: true,
                    },
                    //预配舱单
                    {
                        path: '/customs/declareListPlus',
                        name: 'declareListPlus',
                        code: 'ROADMANIFESTPAGEPLUS',
                        component: './Customs/DeclareListPlus',
                    },
                    //预配舱单详情
                    {
                        path: '/customs/declareListPlus/declareDetailPlus/:id',
                        name: 'declareDetailPlus',
                        // code: 'TRAILPAGE',
                        component: './Customs/DeclareDetailPlus',
                        hideInMenu: true,
                    },
                    //IC卡列表
                    {
                        path: '/customs/ICCardList',
                        name: 'iCCardList',
                        code: 'ICCARDPAGE', //测试
                        component: './Customs/ICcard/ICCardList',
                    },
                    {
                        path: '/customs/ICCardList/ICCardAdd',
                        name: 'iCCardAdd',
                        component: './Customs/ICcard/ICCardOperate',
                        hideInMenu: true,
                    },
                    {
                        path: '/customs/ICCardList/ICCardEdit/:id',
                        name: 'iCCardEdit',
                        component: './Customs/ICcard/ICCardOperate',
                        hideInMenu: true,
                    },
                ],
            },
            // 供应商管理
            {
                path: '/supplierManage',
                icon: 'bar-chart',
                name: 'supplierManage',
                code: 'SUPPLIER_MANAGEMENT',
                routes: [
                    // 证件审核
                    {
                        path: '/supplierManage/paperVerifyList',
                        name: 'paperVerifyList',
                        code: 'PAPERVERIFICATION',
                        component: './supplierManage/PaperVerify/OcrList',
                    },
                    {
                        path: '/supplierManage/paperVerifyList/paperVerifyDetail/:id',
                        name: 'paperVerifyDetail',
                        component: './supplierManage/PaperVerify/OcrDetail',
                        hideInMenu: true,
                    },
                    {
                        path: '/supplierManage/paperVerifyList/paperVerifyAdd',
                        name: 'paperVerifyAdd',
                        component: './supplierManage/PaperVerify/OcrAdd',
                        hideInMenu: true,
                    },
                ],
            },
            //路网管理
            {
                path: '/roadNetwork',
                icon: 'fund',
                name: 'roadNetwork',
                code: 'ROADNETWORK',
                routes: [
                    //行政区域管理
                    {
                        path: '/roadNetwork/locationList',
                        name: 'LocationList',
                        code: 'LOCATIONAREAPAGE',
                        component: './Location/LocationList',
                    },
                    {
                        path: '/roadNetwork/locationList/locationEdit/:id',
                        name: 'LocationEdit',
                        component: './Location/LocationOperate',
                        hideInMenu: true,
                    },
                    {
                        path: '/roadNetwork/locationList/locationAdd',
                        name: 'LocationAdd',
                        component: './Location/LocationOperate',
                        hideInMenu: true,
                    },
                    //地址库管理
                    {
                        path: '/roadNetwork/AddressLibList',
                        name: 'AddressLibList',
                        code: 'ADDRESSLIBPAGE',
                        component: './AddressLib/AddressLibList',
                    },
                    {
                        path: '/roadNetwork/AddressLibList/AddressLibAdd',
                        name: 'AddressLibAdd',
                        component: './AddressLib/AddressLibOperate',
                        hideInMenu: true,
                    },
                    {
                        path: '/roadNetwork/AddressLibList/AddressLibEdit/:id',
                        name: 'AddressLibEdit',
                        component: './AddressLib/AddressLibOperate',
                        hideInMenu: true,
                    },
                    //配送区域管理
                    {
                        path: '/roadNetwork/DistributionList',
                        name: 'DistributionList',
                        code: 'DISTRIBUTIONPAGE',
                        component: './Distribution/DistributionList',
                    },
                    {
                        path: '/roadNetwork/DistributionList/DistributionAdd',
                        name: 'DistributionAdd',
                        component: './Distribution/DistributionOperate',
                        hideInMenu: true,
                    },
                    {
                        path: '/roadNetwork/DistributionList/DistributionEdit/:id',
                        name: 'DistributionEdit',
                        component: './Distribution/DistributionOperate',
                        hideInMenu: true,
                    },
                ],
            },
            //消息管理
            {
                path: '/manageMsg',
                icon: 'bell',
                name: 'manageMsg',
                code: 'MANAGEMSG',
                routes: [
                    //1、消息事件管理
                    {
                        path: '/manageMsg/eventList',
                        name: 'eventList',
                        code: 'EVENTSPAGE',
                        component: './ManageMsg/Events/EventList',
                    },
                    {
                        path: '/manageMsg/eventList/eventEdit/:id',
                        name: 'eventEdit',
                        component: './ManageMsg/Events/EventOperate',
                        hideInMenu: true,
                    },

                    {
                        path: '/manageMsg/eventList/eventAdd',
                        name: 'eventAdd',
                        component: './ManageMsg/Events/EventOperate',
                        hideInMenu: true,
                    },
                    //2、消息内容管理
                    {
                        path: '/manageMsg/contentList',
                        name: 'contentList',
                        code: 'MSGCONTENTPAGE',
                        component: './ManageMsg/Content/ContentList',
                    },
                    //3、消息账号管理
                    {
                        path: '/manageMsg/senderList',
                        name: 'senderList',
                        code: 'SENDERPAGE',
                        component: './ManageMsg/Sender/SenderList',
                    },
                    {
                        path: '/manageMsg/senderList/senderEdit/:id',
                        name: 'senderEdit',
                        component: './ManageMsg/Sender/SenderOperate',
                        hideInMenu: true,
                    },
                    {
                        path: '/manageMsg/senderList/senderAdd',
                        name: 'senderAdd',
                        component: './ManageMsg/Sender/SenderOperate',
                        hideInMenu: true,
                    },
                ],
            },

            //接口管理：
            {
                path: '/interface',
                icon: 'book',
                name: 'interface',
                code: 'RULES',
                routes: [
                    //接口内容
                    {
                        path: '/interface/interfaceList',
                        name: 'interfaceContent',
                        code: 'BUSINESSRULESPAGE',
                        component: './InterfaceManagement/InterfaceContent/InterfaceContentList',
                    },
                    {
                        path: '/interface/interfaeContent/ContentEdit/:id',
                        name: 'ContentEdit',
                        hideInMenu: true,
                        code: 'BUSINESSRULESPAGE',
                        component: './InterfaceManagement/InterfaceContent/ContentOperate'
                    },
                    //业务类型
                    {
                        path: '/interface/interfaeType',
                        name: 'interfaceType',
                        code: 'BUSINESSRULESPAGE',
                        component: './InterfaceManagement/InterfaceType/InterfaceTypeList'
                    },
                    {
                        path: '/interface/interfaeType/typeAdd',
                        name: 'typeAdd',
                        hideInMenu: true,
                        code: 'BUSINESSRULESPAGE',
                        component: './InterfaceManagement/InterfaceType/TypeOperate'
                    },
                    {
                        path: '/interface/interfaeType/typeEdit/:id',
                        name: 'typeEdit',
                        hideInMenu: true,
                        code: 'BUSINESSRULESPAGE',
                        component: './InterfaceManagement/InterfaceType/TypeOperate'
                    }
                ]
            },
            //规则管理：
            {
                //规则维护
                path: '/rules',
                icon: 'snippets',
                name: 'rules',
                code: 'RULES',
                routes: [
                    //业务规则维护
                    {
                        path: '/rules/ruleMannage/RulesList',
                        name: 'BusinessRules',
                        code: 'BUSINESSRULESPAGE',
                        component: './RuleMannage/BusinessRules/RulesList',
                    },
                    //动态数据源
                    {
                        path: '/rules/ruleMannage/dynamicDataList',
                        name: 'dynamicDataList',
                        code: 'DATASOURCEMANAGE',
                        component: './RuleMannage/DynamicData/DynamicDataList',
                    },
                    {
                        path: '/rules/ruleMannage/dynamicDataList/dynamicDataEdit/:id',
                        name: 'dynamicDataEdit',
                        component: './RuleMannage/DynamicData/DynamicDataOperate',
                        hideInMenu: true,
                    },
                    {
                        path: '/rules/ruleMannage/dynamicDataList/dynamicDataAdd',
                        name: 'dynamicDataAdd',
                        component: './RuleMannage/DynamicData/DynamicDataOperate',
                        hideInMenu: true,
                    },
                    //  动态表管理
                    {
                        path: '/rules/ruleMannage/dynamicTableList',
                        name: 'dynamicTableList',
                        code: 'DYNAMICTABLEMANAGE',
                        component: './RuleMannage/DynamicTable/DynamicTableList',
                    },
                    {
                        path: '/rules/ruleMannage/dynamicTableList/dynamicTableEdit/:id',
                        name: 'dynamicTableEdit',
                        component: './RuleMannage/DynamicTable/DynamicTableOperate',
                        hideInMenu: true,
                    },
                    {
                        path: '/rules/ruleMannage/dynamicTableList/dynamicTableAdd',
                        name: 'dynamicTableAdd',
                        component: './RuleMannage/DynamicTable/DynamicTableOperate',
                        hideInMenu: true,
                    },
                    {
                        // path: '/rules/ruleMannage/dynamicTableList/dynamicTableData/:name',
                        path: '/rules/ruleMannage/dynamicTableList/dynamicTableData',
                        name: 'dynamicTableData',
                        component: './RuleMannage/DynamicTable/DynamicTableData',
                        hideInMenu: true,
                    },
                ],
            },
            //拓展功能
            {
                path: '/ExpandFunction',
                icon: 'deployment-unit',
                name: 'ExpandFunction',
                code: 'EXPANDFUNCTION',
                routes: [
                    //接口导入
                    {
                        path: '/ExpandFunction/LeadInPort',
                        name: 'LeadInPort',
                        code: 'LEADINPORTPAGE',
                        component: './ExpandFunction/LeadInPort/LeadInPort',
                    },
                    //报关单导入
                    {
                        path: '/ExpandFunction/LeadCustomes',
                        name: 'LeadCustomes',
                        code: 'LEADINPORTPAGE',
                        component: './ExpandFunction/LeadCustomes/LeadCustomes',
                    },
                ]
            },
            //系统管理：
            {
                path: '/system',
                icon: 'setting',
                name: 'system',
                code: 'SYSTEMMANA',
                routes: [
                    //业务组织管理
                    {
                        path: '/system/OrgList',
                        name: 'orgList',
                        code: 'ORGPAGE',
                        component: './TmsOrg/OrgList',
                    },
                    {
                        path: '/system/OrgList/edit-form/:id',
                        name: 'orgEdit',
                        component: './TmsOrg/UpdateForm',
                        hideInMenu: true,
                    },
                    {
                        path: '/system/OrgList/add-form',
                        name: 'orgAdd',
                        component: './TmsOrg/UpdateForm',
                        hideInMenu: true,
                    },
                    //用户管理
                    {
                        path: '/system/AuthList',
                        name: 'authList',
                        code: 'USERPAGE',
                        component: './TmsAuth/AuthList',
                    },
                    {
                        path: '/system/AuthList/edit-form/:id',
                        name: 'authEdit',
                        component: './TmsAuth/UpdateForm',
                        hideInMenu: true,
                    },
                    {
                        path: '/system/AuthList/add-form',
                        name: 'authAdd',
                        component: './TmsAuth/UpdateForm',
                        hideInMenu: true,
                    },
                    //修改密码
                    {
                        path: '/system/AuthList/passwd',
                        name: 'passwd',
                        component: './User/UpdatePasswd',
                        hideInMenu: true,
                    },
                    //角色管理
                    {
                        path: '/system/RoleList',
                        name: 'roleList',
                        code: 'ROLE_PAGE',
                        component: './TmsRole/RoleList',
                    },
                    {
                        path: '/system/RoleList/edit-form/:id',
                        name: 'roleEdit',
                        component: './TmsRole/UpdateForm',
                        hideInMenu: true,
                    },
                    {
                        path: '/system/RoleList/add-form',
                        name: 'roleAdd',
                        component: './TmsRole/UpdateForm',
                        hideInMenu: true,
                    },
                    //菜单管理
                    {
                        path: '/system/MenuList',
                        name: 'MenuList',
                        code: 'MENUPAGE',
                        component: './TmsMenu/MenuList',
                    },
                    {
                        path: '/system/MenuList/edit-form/:id',
                        name: 'MenuEdit',
                        component: './TmsMenu/UpdateForm',
                        hideInMenu: true,
                    },
                    {
                        path: '/system/MenuList/add-form',
                        name: 'MenuAdd',
                        component: './TmsMenu/UpdateForm',
                        hideInMenu: true,
                    },
                    //字典管理
                    {
                        path: '/system/dictList',
                        name: 'DictList',
                        code: 'DICTPAGE',
                        component: './Dict/DictList',
                    },
                    {
                        path: '/system/dictList/dictEdit/:id',
                        name: 'DictEdit',
                        component: './Dict/DictOperate',
                        hideInMenu: true,
                    },
                    {
                        path: '/system/dictList/dictAdd',
                        name: 'DictAdd',
                        component: './Dict/DictOperate',
                        hideInMenu: true,
                    },
                    //数据字典管理
                    {
                        path: '/system/dictDataList',
                        name: 'DictDataList',
                        code: 'DICTDATAPAGE',
                        component: './DictData/DictDataList',
                    },

                    // 系统配置管理
                    {
                        path: '/system/SysConfigList',
                        name: 'SysConfigList',
                        code: 'SYSCONFIGPAGE',
                        component: './SysConfig/SysConfigList',
                    },
                    {
                        path: '/system/SysConfigList/SysConfigEdit/:id',
                        name: 'SysConfigEdit',
                        component: './SysConfig/SysConfigOperate',
                        hideInMenu: true,
                    },

                    {
                        path: '/system/SysConfigList/SysConfigAdd',
                        name: 'SysConfigAdd',
                        component: './SysConfig/SysConfigOperate',
                        hideInMenu: true,
                    },
                    //流水号管理
                    {
                        path: '/system/SequenceList',
                        name: 'SequenceList',
                        code: 'SEQUENCEPAGE',
                        component: './SystemSetting/Sequence/SequenceList',
                    },
                    {
                        path: '/system/SequenceList/SequenceEdit/:id',
                        name: 'SequenceEdit',
                        component: './SystemSetting/Sequence/SequenceOperate',
                        hideInMenu: true,
                    },

                    {
                        path: '/system/SequenceList/SequenceAdd',
                        name: 'SequenceAdd',
                        component: './SystemSetting/Sequence/SequenceOperate',
                        hideInMenu: true,
                    },
                    //数据权限管理
                    {
                        path: '/system/DataAuthorityList',
                        name: 'dataAuthorityList',
                        code: 'SEQUENCEPAGE',
                        component: './SystemSetting/DataAuthority/DataAuthorityList',
                    },
                    {
                        path: '/system/DataAuthorityList/DataAuthorityEdit/:id',
                        name: 'dataAuthorityEdit',
                        component: './SystemSetting/DataAuthority/DataAuthorityOperate',
                        hideInMenu: true,
                    },

                    {
                        path: '/system/DataAuthorityList/DataAuthorityAdd',
                        name: 'dataAuthorityAdd',
                        component: './SystemSetting/DataAuthority/DataAuthorityOperate',
                        hideInMenu: true,
                    },
                ],
            },



            // 个人中心
            // {
            //   name: 'account',
            //   icon: 'user',
            //   code: 'ACCOUNT',
            //   path: '/account',
            //   routes: [
            //     {
            //       path: '/account/center',
            //       name: 'center',
            //       code: 'CENTER',
            //       component: './account/center/center',
            //     },
            //   ],
            // },

            {
                name: 'exception',
                icon: 'warning',
                path: '/exception',
                hideInMenu: true,
                routes: [
                    // exception
                    {
                        path: '/exception/403',
                        name: 'not-permission',
                        component: './Exception/403',
                    },
                    {
                        path: '/exception/404',
                        name: 'not-find',
                        component: './Exception/404',
                    },
                    {
                        path: '/exception/500',
                        name: 'server-error',
                        component: './Exception/500',
                    },
                    {
                        path: '/exception/trigger',
                        name: 'trigger',
                        hideInMenu: true,
                        component: './Exception/TriggerException',
                    },
                ],
            },
            {
                component: '404',
            },
        ],
    },
];
